using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Midas.Core;

namespace Midas.Admin
{
	static class Program
	{
		static AdminManager manager;

		public static AdminManager Manager
		{
			get { return manager; }
			set { manager = value; }
		}

		static ManagerSponsor sponsor;
		public static ManagerSponsor Sponsor
		{
			get { return sponsor; }
			set { sponsor = value; }
		}

		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			MidasUtility.ReadConfiguration(typeof(Program));
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run(new LoginForm());
		}
	}
}